<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>作废</title>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/public.js"></script>
<link href="${ctx}/styles/listTable.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/styles/aux_window.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/common.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/div/common.js"></script>
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/ajaxException.js"></script>

<%@ include file="/commons/validation.jsp"%>
<script type="text/javascript">
	function submitForm(){
		var flag = $("custEventForm").fireEvent("onsubmit");
		if(!flag) return;

		var url = "${ctx}/customerService_custServEventAction.do?method=setAsideCustEvent";
		var params = $("custEventForm").serialize();

		setButtonStatus(false);
		sendAjaxRequest(url,params,function(result){
				setButtonStatus(true);
				ajaxSubmitException(result.responseText);
				findFrame("main").refleshFrame();
				windowClose();
		});
	}
	function setButtonStatus(status){
		$("btn1_52").disabled = !status;
		$("btn1_32").disabled = !status;
	}
</script>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="window_head_outBg" colspan="2">
    	<table border="0" cellpadding="0" cellspacing="0">
	      <tr>
	        <td>
	        	<img src="${ctx}/images/window_head_arrow.gif" align="absmiddle"/>
	        	<span class="window_head_intext">作废提示信息</span>
	        </td>
	      </tr>
    	</table>
    </td>
  </tr>
  <tr>
    <td class="aux_header_line_1"></td>
  </tr>
  <tr>
    <td class="aux_header_line_2"></td>
  </tr>
  <tr>
  		<form id="custEventForm" class="required-validate" method="post" >
  			<input type="hidden" name="keyword" value="${custEventKeyword}">
	  		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		 		<tr>
			        <td class="aux_outtable_color">
				         <table width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color">
					          <tr>
							        <td valign="top" class="aux_intable_td1">备 注：</td>
							        <td class="aux_intable_require_more">
							        	<table>
							        		<tr>
							        			<td>
									        		<textarea name="remark" cols="30" rows="4"
									        			class="textareatext required validate-char max-length-100" validateChar="$" afterInsert="messageImg"></textarea>
												</td>
												<td>
													<span id="messageImg"></span>
												<td>
											</tr>
										</table>
									</td>
							  </tr>
						 </table>
					</td>
				</tr>
			</table>
		</form>
  </tr>
  </table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="window_footer">
		<table border="0" cellpadding="0" cellspacing="0">
		        <tr>
		          <td>
		          	<table border="0" cellpadding="0" cellspacing="0" >
			            <tr>
			              <td class="buttonOffLeft" id="btn1_51"></td>
			              <td class="buttonOffMiddle" id="btn1_52" onblur="btn_change(5)"
			              		onMouseOver="btn_change_over(5)" onMouseOut="btn_change_out(5)"
			              		onClick="submitForm();">
			              		<img src="${ctx}/images/ico_ok.gif" border="0" align="absmiddle" />确  定</td>
			              <td class="buttonOffRight" id="btn1_53"></td>
			            </tr>
		        	</table>
		        </td>
		        <td class="btn_between_space"></td>
		        <td>
			         <table border="0" cellpadding="0" cellspacing="0" >
			            <tr>
			              <td class="buttonOffLeft" id="btn1_31"></td>
			              <td class="buttonOffMiddle" id="btn1_32" onblur="btn_change(3)"
			              		onMouseOver="btn_change_over(3)" onMouseOut="btn_change_out(3)"
			              		onclick="windowClose();">
			              		<img src="${ctx}/images/ico_cancel.gif" border="0" align="absmiddle" /> 取  消</td>
			              <td class="buttonOffRight" id="btn1_33"></td>
			            </tr>
			        </table>
				</td>
		  </tr>
		</table>
		</td>
	</tr>
	</table>
</body>
</html>